import Cookies from "js-cookie";
import request from "@/util/request";

export const update=(form)=> {
    request.put("/admin/update", form).then(res => {
        if (res.code == "200") {
            this.dialogFormVisible = false;
            this.$notify.success("修改成功")
        } else {
            this.$notify.error(res.msg)
        }
    })
}



